'use strict';

var React = require('react');

// page view ...
var myPanelView = React.createFactory(require('./components/page/panelPopView/myPanel.jsx'));
var cartPanelView = React.createFactory(require('./components/page/panelPopView/cartPanel.jsx'));
var wordsPanelView = React.createFactory(require('./components/page/panelPopView/wordsPanel.jsx'));
var editPanelView = React.createFactory(require('./components/page/panelPopView/editPanel.jsx'));
var noticePanelView = React.createFactory(require('./components/page/panelPopView/noticePanel.jsx'));

var config = {
	PANEL_ROUTER: {
		title: '举报',
		handler: myPanelView
	},
	PANEL_ROUTER_REFUSE: {
		title: '拒答',
		handler: myPanelView
	},
	PANEL_ROUTER_CART: {
		title: '',
		handler: cartPanelView
	},
	PANEL_ROUTER_WORDS:{
		title:'话术设置',
		handler: wordsPanelView
	},
	PANEL_ROUTER_EDIT:{
		title:'话术设置',
		handler: editPanelView
	},
	PANEL_ROUTER_NOTICE:{
		title:'通知',
		handler: noticePanelView
	}
};

module.exports = config;